VersionMoveBean.fromJson constructor

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

Implementation

factory VersionMoveBean.fromJson(Map<String, Object?> json) {
  return VersionMoveBean(
    after: json[r'after'] as String?,
    position: json[r'position'] != null
        ? VersionMoveBeanPosition.fromValue(json[r'position']! as String)
        : null,
  );
}