SetUpSpaceRequest.fromJson constructor

SetUpSpaceRequest.fromJson(
  1. Map json_
)

Implementation

SetUpSpaceRequest.fromJson(core.Map json_)
    : this(
        memberships: json_.containsKey('memberships')
            ? (json_['memberships'] as core.List)
                .map((value) => Membership.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
        space: json_.containsKey('space')
            ? Space.fromJson(
                json_['space'] as core.Map<core.String, core.dynamic>)
            : null,
      );