BorderRadiusHorizontal class Null safety
- Implemented types
Constructors
- BorderRadiusHorizontal({Radius left, Radius right})
-
constfactory
-
BorderRadiusHorizontal.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ _$$BorderRadiusHorizontalCopyWith<
_$BorderRadiusHorizontal> -
@JsonKey(ignore: true), read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- left → Radius
-
read-only
- right → Radius
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
map<
TResult extends Object?> ({required TResult all(BorderRadiusAll value), required TResult circular(BorderRadiusCircular value), required TResult vertical(BorderRadiusVertical value), required TResult horizontal(BorderRadiusHorizontal value), required TResult only(BorderRadiusOnly value)}) → TResult -
@optionalTypeArgs, inherited
-
mapOrNull<
TResult extends Object?> ({TResult? all(BorderRadiusAll value)?, TResult? circular(BorderRadiusCircular value)?, TResult? vertical(BorderRadiusVertical value)?, TResult? horizontal(BorderRadiusHorizontal value)?, TResult? only(BorderRadiusOnly value)?}) → TResult? -
@optionalTypeArgs, inherited
-
maybeMap<
TResult extends Object?> ({TResult all(BorderRadiusAll value)?, TResult circular(BorderRadiusCircular value)?, TResult vertical(BorderRadiusVertical value)?, TResult horizontal(BorderRadiusHorizontal value)?, TResult only(BorderRadiusOnly value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
maybeWhen<
TResult extends Object?> ({TResult all(Radius radius)?, TResult circular(double radius)?, TResult vertical(Radius top, Radius bottom)?, TResult horizontal(Radius left, Radius right)?, TResult only(Radius? topLeft, Radius? topRight, Radius? bottomLeft, Radius? bottomRight)?, 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?> ({required TResult all(Radius radius), required TResult circular(double radius), required TResult vertical(Radius top, Radius bottom), required TResult horizontal(Radius left, Radius right), required TResult only(Radius? topLeft, Radius? topRight, Radius? bottomLeft, Radius? bottomRight)}) → TResult -
@optionalTypeArgs, inherited
-
whenOrNull<
TResult extends Object?> ({TResult? all(Radius radius)?, TResult? circular(double radius)?, TResult? vertical(Radius top, Radius bottom)?, TResult? horizontal(Radius left, Radius right)?, TResult? only(Radius? topLeft, Radius? topRight, Radius? bottomLeft, Radius? bottomRight)?}) → TResult? -
@optionalTypeArgs, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited