EmbeddedObjectBorder.fromJson constructor

EmbeddedObjectBorder.fromJson(
  1. Map json_
)

Implementation

EmbeddedObjectBorder.fromJson(core.Map json_)
    : this(
        color: json_.containsKey('color')
            ? OptionalColor.fromJson(
                json_['color'] as core.Map<core.String, core.dynamic>)
            : null,
        dashStyle: json_.containsKey('dashStyle')
            ? json_['dashStyle'] as core.String
            : null,
        propertyState: json_.containsKey('propertyState')
            ? json_['propertyState'] as core.String
            : null,
        width: json_.containsKey('width')
            ? Dimension.fromJson(
                json_['width'] as core.Map<core.String, core.dynamic>)
            : null,
      );