GetGlobalOrganizationOperationRequest.fromJson constructor

GetGlobalOrganizationOperationRequest.fromJson(
  1. Object? j
)

Implementation

factory GetGlobalOrganizationOperationRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return GetGlobalOrganizationOperationRequest(
    operation: switch (json['operation']) {
      null => '',
      Object $1 => decodeString($1),
    },
    parentId: switch (json['parentId']) {
      null => null,
      Object $1 => decodeString($1),
    },
  );
}