Padding.fromJson constructor

Padding.fromJson(
  1. Map json_
)

Implementation

Padding.fromJson(core.Map json_)
    : this(
        bottom:
            json_.containsKey('bottom') ? json_['bottom'] as core.int : null,
        left: json_.containsKey('left') ? json_['left'] as core.int : null,
        right: json_.containsKey('right') ? json_['right'] as core.int : null,
        top: json_.containsKey('top') ? json_['top'] as core.int : null,
      );