ParagraphBorder.fromJson constructor

ParagraphBorder.fromJson(
  1. Map json_
)

Implementation

ParagraphBorder.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,
        padding: json_.containsKey('padding')
            ? Dimension.fromJson(
                json_['padding'] as core.Map<core.String, core.dynamic>)
            : null,
        width: json_.containsKey('width')
            ? Dimension.fromJson(
                json_['width'] as core.Map<core.String, core.dynamic>)
            : null,
      );