$LockConfig.fromJson constructor

$LockConfig.fromJson(
  1. Map json_
)

Implementation

$LockConfig.fromJson(core.Map json_)
    : this(
        locked:
            json_.containsKey('locked') ? json_['locked'] as core.bool : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );