ContactFlow.fromJson constructor

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

Implementation

factory ContactFlow.fromJson(Map<String, dynamic> json) {
  return ContactFlow(
    arn: json['Arn'] as String?,
    content: json['Content'] as String?,
    description: json['Description'] as String?,
    id: json['Id'] as String?,
    name: json['Name'] as String?,
    tags: (json['Tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    type: (json['Type'] as String?)?.toContactFlowType(),
  );
}