SchemaPlan.fromJson constructor

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

Implementation

factory SchemaPlan.fromJson(Map<String, Object?> json) => SchemaPlan(
  description: json['description'] as String?,
  mutations: (json['mutations'] as List)
      .map((entry) => SchemaMutation.fromJson(entry as Map<String, Object?>))
      .toList(),
);