Outline.fromJson constructor

Outline.fromJson(
  1. Map json_
)

Implementation

Outline.fromJson(core.Map json_)
    : this(
        dashStyle: json_.containsKey('dashStyle')
            ? json_['dashStyle'] as core.String
            : null,
        outlineFill: json_.containsKey('outlineFill')
            ? OutlineFill.fromJson(
                json_['outlineFill'] as core.Map<core.String, core.dynamic>)
            : null,
        propertyState: json_.containsKey('propertyState')
            ? json_['propertyState'] as core.String
            : null,
        weight: json_.containsKey('weight')
            ? Dimension.fromJson(
                json_['weight'] as core.Map<core.String, core.dynamic>)
            : null,
      );