BlockAction.fromJson constructor

BlockAction.fromJson(
  1. Map json_
)

Implementation

BlockAction.fromJson(core.Map json_)
    : this(
        blockAfterDays: json_.containsKey('blockAfterDays')
            ? json_['blockAfterDays'] as core.int
            : null,
        blockScope: json_.containsKey('blockScope')
            ? json_['blockScope'] as core.String
            : null,
      );