IntentMetadata.fromJson constructor

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

Implementation

factory IntentMetadata.fromJson(Map<String, dynamic> json) {
  return IntentMetadata(
    createdDate: timeStampFromJson(json['createdDate']),
    description: json['description'] as String?,
    lastUpdatedDate: timeStampFromJson(json['lastUpdatedDate']),
    name: json['name'] as String?,
    version: json['version'] as String?,
  );
}