EdgeInsetsOnly class Null safety

Implemented types

Constructors

EdgeInsetsOnly({double left, double top, double right, double bottom})
const
factory
EdgeInsetsOnly.fromJson(Map<String, dynamic> json)
factory

Properties

bottom double
read-only
copyWith → _$$EdgeInsetsOnlyCopyWith<_$EdgeInsetsOnly>
@JsonKey(ignore: true), read-only
hashCode int
The hash code for this object.
read-only, inherited
left double
read-only
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
top double
read-only

Methods

map<TResult extends Object?>(TResult $default(_EdgeInsets value), {required TResult only(EdgeInsetsOnly value), required TResult all(EdgeInsetsAll value), required TResult symmetric(EdgeInsetsSymmetric value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>(TResult? $default(_EdgeInsets value)?, {TResult? only(EdgeInsetsOnly value)?, TResult? all(EdgeInsetsAll value)?, TResult? symmetric(EdgeInsetsSymmetric value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>(TResult $default(_EdgeInsets value)?, {TResult only(EdgeInsetsOnly value)?, TResult all(EdgeInsetsAll value)?, TResult symmetric(EdgeInsetsSymmetric value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>(TResult $default(double left, double top, double right, double bottom)?, {TResult only(double left, double top, double right, double bottom)?, TResult all(double value)?, TResult symmetric(double vertical, double horizontal)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(double left, double top, double right, double bottom), {required TResult only(double left, double top, double right, double bottom), required TResult all(double value), required TResult symmetric(double vertical, double horizontal)}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>(TResult? $default(double left, double top, double right, double bottom)?, {TResult? only(double left, double top, double right, double bottom)?, TResult? all(double value)?, TResult? symmetric(double vertical, double horizontal)?}) → TResult?
@optionalTypeArgs, inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited