GetConversationDialogflowV2beta1Result.fromMap constructor

GetConversationDialogflowV2beta1Result.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetConversationDialogflowV2beta1Result.fromMap(Map<String, dynamic> map) {
  return GetConversationDialogflowV2beta1Result(
    conversationProfile: map['conversationProfile'] as String,
    conversationStage: map['conversationStage'] as String,
    endTime: map['endTime'] as String,
    lifecycleState: map['lifecycleState'] as String,
    name: map['name'] as String,
    phoneNumber: GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse.fromMap((map['phoneNumber']! as Map).cast<String, dynamic>()),
    startTime: map['startTime'] as String,
  );
}