ModificationState.fromJson constructor

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

Implementation

factory ModificationState.fromJson(Map<String, dynamic> json) {
  return ModificationState(
    resource: (json['Resource'] as String?)?.toModificationResourceEnum(),
    state: (json['State'] as String?)?.toModificationStateEnum(),
  );
}