Skip to content

Commit

Permalink
breaking - selfiePhotoUrl => selfieUrl (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: Fernando Navarro <[email protected]>
  • Loading branch information
fn-dev93 and Fernando Navarro authored Oct 26, 2023
1 parent 542b257 commit 97b6750
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/models/webhook_resource_data_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ class MatiWebhookResourceDataStep extends Equatable {

class StepData extends Equatable {
const StepData({
this.selfiePhotoUrl,
this.selfieUrl,
this.country,
this.countryCode,
this.region,
Expand All @@ -504,7 +504,7 @@ class StepData extends Equatable {
});

factory StepData.fromMap(Map<dynamic, dynamic> json) => StepData(
selfiePhotoUrl: json['selfiePhotoUrl'] as String?,
selfieUrl: json['selfieUrl'] as String?,
country: json['country'] as String?,
countryCode: json['countryCode'] as String?,
region: json['region'] as String?,
Expand All @@ -516,7 +516,7 @@ class StepData extends Equatable {
safe: json['safe'] as bool?,
);

final String? selfiePhotoUrl;
final String? selfieUrl;
final String? country;
final String? countryCode;
final String? region;
Expand All @@ -530,7 +530,7 @@ class StepData extends Equatable {
@override
List<Object?> get props {
return [
selfiePhotoUrl,
selfieUrl,
country,
countryCode,
region,
Expand Down

0 comments on commit 97b6750

Please sign in to comment.