MatterPermission.fromJson constructor

MatterPermission.fromJson(
  1. Map json_
)

Implementation

MatterPermission.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        role: json_.containsKey('role') ? json_['role'] as core.String : null,
      );