ContentMetadataCurrentuserLastcontributed.fromJson constructor

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

Implementation

factory ContentMetadataCurrentuserLastcontributed.fromJson(
    Map<String, Object?> json) {
  return ContentMetadataCurrentuserLastcontributed(
    status: json[r'status'] as String?,
    when: DateTime.tryParse(json[r'when'] as String? ?? ''),
  );
}