Pad.fromJson constructor

Pad.fromJson(
  1. Map json_
)

Implementation

Pad.fromJson(core.Map json_)
    : this(
        bottomPixels: json_.containsKey('bottomPixels')
            ? json_['bottomPixels'] as core.int
            : null,
        leftPixels: json_.containsKey('leftPixels')
            ? json_['leftPixels'] as core.int
            : null,
        rightPixels: json_.containsKey('rightPixels')
            ? json_['rightPixels'] as core.int
            : null,
        topPixels: json_.containsKey('topPixels')
            ? json_['topPixels'] as core.int
            : null,
      );