HistoryMetadata.fromJson constructor

HistoryMetadata.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory HistoryMetadata.fromJson(Map<String, Object?> json) {
  return HistoryMetadata(
    type: json[r'type'] as String?,
    description: json[r'description'] as String?,
    descriptionKey: json[r'descriptionKey'] as String?,
    activityDescription: json[r'activityDescription'] as String?,
    activityDescriptionKey: json[r'activityDescriptionKey'] as String?,
    emailDescription: json[r'emailDescription'] as String?,
    emailDescriptionKey: json[r'emailDescriptionKey'] as String?,
    actor: json[r'actor'] as Map<String, Object?>?,
    generator: json[r'generator'] as Map<String, Object?>?,
    cause: json[r'cause'] as Map<String, Object?>?,
    extraData: json[r'extraData'] as Map<String, Object?>?,
  );
}