LockInfo.fromJson constructor

LockInfo.fromJson(
  1. Map json_
)

Implementation

LockInfo.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        info: json_.containsKey('info') ? json_['info'] as core.String : null,
        lockId: json_.containsKey('lockId')
            ? json_['lockId'] as core.String
            : null,
        operation: json_.containsKey('operation')
            ? json_['operation'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
        who: json_.containsKey('who') ? json_['who'] as core.String : null,
      );