FlowSchema.fromJson constructor
Creates a FlowSchema from JSON data.
Implementation
FlowSchema.fromJson(Map<String, dynamic> json)
: this(
apiVersion: json['apiVersion'],
kind: json['kind'],
metadata: json['metadata'] != null
? ObjectMeta.fromJson(json['metadata'])
: null,
spec: json['spec'] != null
? FlowSchemaSpec.fromJson(json['spec'])
: null,
status: json['status'] != null
? FlowSchemaStatus.fromJson(json['status'])
: null,
);