UpdateExampleStoreRequest.fromJson constructor

UpdateExampleStoreRequest.fromJson(
  1. Object? j
)

Implementation

factory UpdateExampleStoreRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return UpdateExampleStoreRequest(
    exampleStore: switch (json['exampleStore']) {
      null => null,
      Object $1 => ExampleStore.fromJson($1),
    },
    updateMask: switch (json['updateMask']) {
      null => null,
      Object $1 => protobuf.FieldMask.fromJson($1),
    },
  );
}