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