ActionTypeId.fromJson constructor

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

Implementation

factory ActionTypeId.fromJson(Map<String, dynamic> json) {
  return ActionTypeId(
    category: (json['category'] as String).toActionCategory(),
    owner: (json['owner'] as String).toActionOwner(),
    provider: json['provider'] as String,
    version: json['version'] as String,
  );
}