UpdateBordersRequest.fromJson constructor

UpdateBordersRequest.fromJson(
  1. Map json_
)

Implementation

UpdateBordersRequest.fromJson(core.Map json_)
    : this(
        bottom: json_.containsKey('bottom')
            ? Border.fromJson(
                json_['bottom'] as core.Map<core.String, core.dynamic>)
            : null,
        innerHorizontal: json_.containsKey('innerHorizontal')
            ? Border.fromJson(json_['innerHorizontal']
                as core.Map<core.String, core.dynamic>)
            : null,
        innerVertical: json_.containsKey('innerVertical')
            ? Border.fromJson(
                json_['innerVertical'] as core.Map<core.String, core.dynamic>)
            : null,
        left: json_.containsKey('left')
            ? Border.fromJson(
                json_['left'] as core.Map<core.String, core.dynamic>)
            : null,
        range: json_.containsKey('range')
            ? GridRange.fromJson(
                json_['range'] 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,
      );