Borders.fromJson constructor

Borders.fromJson(
  1. Map json_
)

Implementation

Borders.fromJson(core.Map json_)
    : this(
        bottom: json_.containsKey('bottom')
            ? Border.fromJson(
                json_['bottom'] as core.Map<core.String, core.dynamic>)
            : null,
        left: json_.containsKey('left')
            ? Border.fromJson(
                json_['left'] as core.Map<core.String, core.dynamic>)
            : null,
        right: json_.containsKey('right')
            ? Border.fromJson(
                json_['right'] as core.Map<core.String, core.dynamic>)
            : null,
        top: json_.containsKey('top')
            ? Border.fromJson(
                json_['top'] as core.Map<core.String, core.dynamic>)
            : null,
      );