SchemaChangePolicy.fromJson constructor

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

Implementation

factory SchemaChangePolicy.fromJson(Map<String, dynamic> json) {
  return SchemaChangePolicy(
    deleteBehavior: (json['DeleteBehavior'] as String?)?.toDeleteBehavior(),
    updateBehavior: (json['UpdateBehavior'] as String?)?.toUpdateBehavior(),
  );
}