CreateRealtimeEndpointOutput.fromJson constructor

CreateRealtimeEndpointOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateRealtimeEndpointOutput.fromJson(Map<String, dynamic> json) {
  return CreateRealtimeEndpointOutput(
    mLModelId: json['MLModelId'] as String?,
    realtimeEndpointInfo: json['RealtimeEndpointInfo'] != null
        ? RealtimeEndpointInfo.fromJson(
            json['RealtimeEndpointInfo'] as Map<String, dynamic>)
        : null,
  );
}