UpdateEndpointLongRunningRequest.fromJson constructor

UpdateEndpointLongRunningRequest.fromJson(
  1. Object? j
)

Implementation

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