AddAttributesActivity.fromJson constructor

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

Implementation

factory AddAttributesActivity.fromJson(Map<String, dynamic> json) {
  return AddAttributesActivity(
    attributes: (json['attributes'] as Map<String, dynamic>)
        .map((k, e) => MapEntry(k, e as String)),
    name: json['name'] as String,
    next: json['next'] as String?,
  );
}